package com.hzau.service.impl;

import com.hzau.mapper.UserMapper;
import com.hzau.model.User;
import com.hzau.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 29140 on 2016/12/4.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    public UserMapper userMapper;


    @Override
    public User selectUser(String username) {
        return userMapper.selectUser(username);
    }
}
